<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%><%@include file="../../v2/common/jspcommon.jsp"%><%@include file="../common/jscss.jsp"%><script src="/thirdparty/My97DatePicker/WdatePicker.js" type="text/javascript"></script><style>
	a.fl {position:relative;overflow:hidden;display:inline-block;color:#005197;text-decoration:underline;vertical-align:bottom;*vertical-align:auto}	a.fl input {position:absolute;right:0;top:0;height:100px;opacity:0;filter:alpha(opacity=0);cursor:pointer;cursor:hand}	a.fl:hover {color:#f65100}	#files{font:normal 14px/16px "微软雅黑";margin:10px;}	#files a{margin:0 20px 0 10px; font-size:14px;}	.l-table-edit {font-size: 12px;margin: auto;} 	.l-table-edit-td{ padding:4px;}    .l-button-submit,.l-button-test{width:80px; float:left; margin-left:10px; padding-bottom:2px;}    .l-verify-tip{ left:230px; top:120px;}    .error{color:red}
</style><form action="/misc/pictorial/savepictorial.htm" method="post" id="pictorialForm">	<input type="hidden" name="identifier" value="${pictorial.identifier }"/>	<input type="hidden" name="topicId" value="${topicId }"/>	<table cellpadding="0" cellspacing="0" class="l-table-edit">
	  <tr>
	    <td class="l-table-edit-td">标题：</td>
	    <td class="l-table-edit-td"><input type="text" name="title" value="${pictorial.title }" width="220px"/></td>
	  </tr>	  <tr>	    <td class="l-table-edit-td">短标题：</td>	    <td class="l-table-edit-td"><input type="text" name="shortTitle" value="${pictorial.shortTitle }" width="220px"/></td>	  </tr>	  <tr>	  	<td class="l-table-edit-td">类别：</td>	  	<td class="l-table-edit-td">	  		<input type="radio" name="type" value="01" <c:if test="${pictorial.type=='01' || empty pictorial}">checked="checked"</c:if>/>01	  		<input type="radio" name="type" value="02" <c:if test="${pictorial.type=='02'}">checked="checked"</c:if>/>02	  		<input type="radio" name="type" value="03" <c:if test="${pictorial.type=='03'}">checked="checked"</c:if>/>03	  		<input type="radio" name="type" value="04" <c:if test="${pictorial.type=='04'}">checked="checked"</c:if>/>04	  		<input type="radio" name="type" value="05" <c:if test="${pictorial.type=='05'}">checked="checked"</c:if>/>05	  	</td>	  </tr>
	  <tr>	    <td class="l-table-edit-td">专辑描述：</td>	    <td class="l-table-edit-td">	    	<textarea cols="100" style="width: 600px;height: 300px" class="l-textarea" name="description" id="description">${pictorial.description }</textarea>	    </td>	  </tr>	  <tr>	  	<td class="l-table-edit-td">是否屏蔽：</td>	  	<td class="l-table-edit-td">	  		<input type="radio" name="display" value="01" <c:if test="${pictorial.display=='01' || empty pictorial}">checked="checked"</c:if>/>显示	  		<input type="radio" name="display" value="02" <c:if test="${pictorial.display=='02'}">checked="checked"</c:if>/>屏蔽	  	</td>	  </tr>	  <tr>	  		  	<td class="l-table-edit-td" colspan="2">	  		<input type="submit" value="保存" id="btnSend" />	  	</td>	  </tr> 
	</table></form><script type="text/javascript">	$(function(){				//表单验证		$("#pictorialForm").validate({	        success: function (lable){	           lable.ligerHideTip();	           lable.remove();	        },	        rules:{	        	title:{required : true},	        	shortTitle:{required : true},	        	description:{required : true}	        },	        messages : {	        	title : {required : "请填写画报标题"},	        	shortTitle : {required : "请填写画报短标题"},	        	description : {required : "请填写专辑描述"}			},			submitHandler : function(form) {				 $(form).ajaxSubmit(function(data){					 if(data=="success"){						parent.grid_ae.loadData();						parent.dialog_ae.close();					 }				 });			}		});	});</script>